<template>
  <div style="width: 100%">
    <div class="header">
      <img src="../assets/img/header.png" alt="" />
      <div class="bj">
        <div class="hz">
          <div class="tx"><img src="../assets/img/touxiang.jpg" alt="" /></div>
          <div class="name">热心市民李先生</div>
          <p class="id">ID: 1203469414</p>
          <div class="yh">
            <div class="item">
              <span>红包</span>
              <p>218</p>
            </div>
            <div class="item">
              <span>优惠券</span>
              <p>12张</p>
            </div>
            <div class="item">
              <span>鲜豆</span>
              <p>88</p>
            </div>
            <div class="item">
              <span>白条</span>
              <p>1000</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="content">
      <div class="clow">
        <img src="../assets/img/我的红包.png" alt="" />
        <div class="left">我的钱包</div>
        <div class="right">></div>
      </div>
      <div class="clow">
        <img src="../assets/img/我的地址.png" alt="" />
        <div class="left">我的地址</div>
        <div class="right">></div>
      </div>
      <div class="clow">
        <img src="../assets/img/客服.png" alt="" />
        <div class="left">客服帮助</div>
        <div class="right">></div>
      </div>
    </div>
    <div class="footer">
      <ul>
        <li id="homepage">
          <div>
            <img src="../assets/img/首页.png" alt="" />
          </div>
          <div>首页</div>
        </li>
        <li id="shoppingcar">
          <div>
            <img src="../assets/img/购物车.png" alt="" />
          </div>
          <div>购物车</div>
        </li>
        <li id="indent">
          <div>
            <img src="../assets/img/订单_订单列表.png" alt="" />
          </div>
          <div>订单</div>
        </li>
        <li id="mine">
          <div>
            <img src="../assets/img/我的2.png" alt="" />
          </div>
          <div>我的</div>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {};
</script>
<style scoped>
.header img {
  width: 99.9%;
  position: fixed;
  top: 0;
  left: 0;
}
.bj {
  width: 100%;
  height: 250px;
  position: absolute;
  left: 0;
  top: 25px;
  background-image: linear-gradient(to left, #3a6ff3 0%, #50c7fb 100%);
  border-radius: 0 0 50% 50%;
}
.tx {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: -15%;
}
.tx img {
  border-radius: 50%;
}
.name {
  position: relative;
  top: -10%;
  font-size: 20px;
}
.id {
  position: relative;
  top: -10%;
  font-size: 12px;
  color: rgb(201, 201, 201);
}
.yh {
  position: relative;
  top: -10px;
  display: flex;
  border-top: 1px solid rgb(201, 201, 201);
  justify-content: space-around;
}
.item span {
  font-size: 12px;
  color: rgb(213, 213, 213);
}
.item p {
  position: relative;
  top: -10px;
}
.content {
  width: 80%;
  height: 120px;
  border-radius: 5px;
  box-shadow: 0 0 10px 3px rgb(232, 232, 232);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60%;
}
.clow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 0 10px;
  font-size: 14px;
}
.clow .left {
  position: relative;
  margin-left: -50%;
}
.clow img {
  width: 25px;
}
.footer {
  width: 100%;
  height: 50px;
  padding-top: 8px;
  border: 0.5px solid rgb(218, 213, 213);
  background-color: rgb(245, 245, 245);
  position: fixed;
  left: 0;
  bottom: 0;
}
.hz {
  width: 80%;
  height: 200px;
  position: relative;
  left: 50%;
  top: 40%;
  border-radius: 15px;
  box-shadow: 0px 5px 10px 0px rgb(183, 183, 183);
  transform: translateX(-50%);
  background-color: white;
}
.footer ul {
  font-size: 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer ul li img {
  width: 20px;
  height: 20px;
}
</style>
